﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Windows;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.CompilerServices;

namespace Model
{
    public class DefectFilterModel:INotifyPropertyChanged
    {
        public int id { get; set; }
        public string name { get; set; }
        public ObservableCollection<DefectTypeFilterModel> DefectTpyeFilterInfos { get; set; }
        
        public event PropertyChangedEventHandler PropertyChanged;
    }
    public class DefectTypeFilterModel : INotifyPropertyChanged
    {
        public int typeid { get; set; }
        public bool isFiltered { get; set; }
        public double MaxWidth { get; set; }
        public double MinWidth { get; set; }
        public double MaxHeight { get; set; }
        public double MinHeight { get; set; }
        public double MinConfidence { get; set; }
        public event PropertyChangedEventHandler PropertyChanged;
    }
}
